﻿@model tutors_clus.Models.news

@{
    ViewBag.Title = "Chi tiết tin tức";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="Breadcrumb">
    <ul>
        <li><a class="home" href="#"></a></li>
        <li><a href="#">Tin tức</a></li>
        <li>@Model.title_new</li>
    </ul>
</div>
<div class="news_detail">
    <div class="title_new_anno">
        <p>@Model.title_new</p>
    </div>
    <div class="detail_new_anno">
        <p>@Model.create_date_new</p>
        <div>@MvcHtmlString.Create(Model.detail_new)</div>
        <div class="author">Theo @Model.writer_new</div>
        <div class="clear"></div>
    </div>
</div>
    @if (@ViewBag.count > 0) 
    {
    <div class="other_news_anno">
        <h2>Tin cũ hơn: </h2>
        <ul>

            @foreach (var item in  @ViewBag.list)
                {

                <li><a href="@Url.Action("Detail_News", new { id=@item.id_new})">@item.title_new</a><i>(@item.create_date_new)</i></li>
                }
        </ul>
    </div>
      }
    @Html.ActionLink("Quay lại danh sách tin tức", "News")
